package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.UserLike;

import java.util.List;
import java.util.Map;

public interface UserlikeApi {

    Boolean saveOrUpdate(Long userId, Long userLikeId, boolean b);

    Map counts(Long userId);

    List<UserLike> findEachLike(Long userId);

    List<UserLike> getUserLikes(Long userId);

    List<UserLike> getLikeMeUser(Long userId);

    Boolean likeOrNot(Long userId,Long likeUserId);
}
